<script type="text/javascript" src="<?php echo base_url('assets/js/site/validacao_comentario.js');?>"></script>
<section id="comment-form-wrapper">
    <h3 id="new_comment" class="title">Escreva seu comentário</h3>
    <form class="comment-form" action="<?php echo site_url('site/post/comentario')?>" method="post" id="comment-form" accept-charset="UTF-8">
        <div>
            
            <div class="form-item form-type-textfield form-item-name">
                <label for="edit-name">Seu nome<span class="form-required" title="Campo obrigatório.">*</span></label>
                <input <?php if(has_user_fb()) echo 'disabled=disabled'; ?> type="text" id="edit-name" name="nome" value="<?php echo get_name_user_fb(); ?>" size="30" maxlength="60" class="form-text">
            </div>
            <!--
            <div class="form-item form-type-textfield form-item-subject">
                <label for="edit-subject">Subject </label>
                <input type="text" id="edit-subject" name="subject" value="" size="60" maxlength="64" class="form-text">
            </div>
            -->
            <div class="field-type-text-long field-name-comment-body field-widget-text-textarea form-wrapper" id="edit-comment-body">
                <div id="comment-body-add-more-wrapper"><div class="text-format-wrapper">
                        <div class="form-item form-type-textarea form-item-comment-body-und-0-value">
                            <label for="edit-comment-body-und-0-value">Comentário 
                                <span class="form-required" title="Campo obrigatório.">*</span></label>
                            <div class="form-textarea-wrapper resizable textarea-processed resizable-textarea">
                                <textarea class="text-full form-textarea required" id="edit-comment" name="descricao" cols="60" rows="5"></textarea>
                                <div class="grippie">
                                    
                                </div>
                                <div class="wysiwyg-toggle-wrapper">
                                    <a id="wysiwyg-toggle-edit-comment-body-und-0-value" href="javascript:void(0);" style="display: none;">Disable rich-text</a>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            
            <div class="form-actions form-wrapper" id="edit-actions">
                <input type="submit" id="btn-salvar" name="salvar" value="Enviar comentário" class="form-submit">
                <input type="hidden" value="<?php echo $id_objeto?>" name="id_post"/>
            </div>
        </div>
    </form>		
</section>